package com.example.spring_seatreservation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class SeminarRoom {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private String location;
    private Integer state;
    private Integer capacity;
    private String type;
    private String rule;
    private String equipment;
    private String principal;
    private String office;
    private String phone;
    private String email;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long floorId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long libId;

    @TableField(exist = false)
    private String libraryName;
    @TableField(exist = false)
    private String FloorName;
}
